export function validatePhone(phone: string): boolean{
    return /^1[3-9][0-9]{9}$/.test(phone)
}

export function throwAError(msg: string){
     throw new Error(msg);
}